home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / dom / nsIDOMHTMLHeadElement.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  3KB  |  107 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIDOMHTMLHeadElement.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIDOMHTMLHeadElement_h__
  6. #define __gen_nsIDOMHTMLHeadElement_h__
  7.  
  8.  
  9. #ifndef __gen_nsIDOMHTMLElement_h__
  10. #include "nsIDOMHTMLElement.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17.  
  18. /* starting interface:    nsIDOMHTMLHeadElement */
  19. #define NS_IDOMHTMLHEADELEMENT_IID_STR "a6cf9087-15b3-11d2-932e-00805f8add32"
  20.  
  21. #define NS_IDOMHTMLHEADELEMENT_IID \
  22.   {0xa6cf9087, 0x15b3, 0x11d2, \
  23.     { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
  24.  
  25. /**
  26.  * The nsIDOMHTMLHeadElement interface is the interface to a [X]HTML
  27.  * head element.
  28.  *
  29.  * For more information on this interface please see
  30.  * http://www.w3.org/TR/DOM-Level-2-HTML/
  31.  *
  32.  * @status FROZEN
  33.  */
  34. class NS_NO_VTABLE nsIDOMHTMLHeadElement : public nsIDOMHTMLElement {
  35.  public: 
  36.  
  37.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMHTMLHEADELEMENT_IID)
  38.  
  39.   /* attribute DOMString profile; */
  40.   NS_IMETHOD GetProfile(nsAString & aProfile) = 0;
  41.   NS_IMETHOD SetProfile(const nsAString & aProfile) = 0;
  42.  
  43. };
  44.  
  45. /* Use this macro when declaring classes that implement this interface. */
  46. #define NS_DECL_NSIDOMHTMLHEADELEMENT \
  47.   NS_IMETHOD GetProfile(nsAString & aProfile); \
  48.   NS_IMETHOD SetProfile(const nsAString & aProfile); 
  49.  
  50. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  51. #define NS_FORWARD_NSIDOMHTMLHEADELEMENT(_to) \
  52.   NS_IMETHOD GetProfile(nsAString & aProfile) { return _to GetProfile(aProfile); } \
  53.   NS_IMETHOD SetProfile(const nsAString & aProfile) { return _to SetProfile(aProfile); } 
  54.  
  55. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  56. #define NS_FORWARD_SAFE_NSIDOMHTMLHEADELEMENT(_to) \
  57.   NS_IMETHOD GetProfile(nsAString & aProfile) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetProfile(aProfile); } \
  58.   NS_IMETHOD SetProfile(const nsAString & aProfile) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetProfile(aProfile); } 
  59.  
  60. #if 0
  61. /* Use the code below as a template for the implementation class for this interface. */
  62.  
  63. /* Header file */
  64. class nsDOMHTMLHeadElement : public nsIDOMHTMLHeadElement
  65. {
  66. public:
  67.   NS_DECL_ISUPPORTS
  68.   NS_DECL_NSIDOMHTMLHEADELEMENT
  69.  
  70.   nsDOMHTMLHeadElement();
  71.  
  72. private:
  73.   ~nsDOMHTMLHeadElement();
  74.  
  75. protected:
  76.   /* additional members */
  77. };
  78.  
  79. /* Implementation file */
  80. NS_IMPL_ISUPPORTS1(nsDOMHTMLHeadElement, nsIDOMHTMLHeadElement)
  81.  
  82. nsDOMHTMLHeadElement::nsDOMHTMLHeadElement()
  83. {
  84.   /* member initializers and constructor code */
  85. }
  86.  
  87. nsDOMHTMLHeadElement::~nsDOMHTMLHeadElement()
  88. {
  89.   /* destructor code */
  90. }
  91.  
  92. /* attribute DOMString profile; */
  93. NS_IMETHODIMP nsDOMHTMLHeadElement::GetProfile(nsAString & aProfile)
  94. {
  95.     return NS_ERROR_NOT_IMPLEMENTED;
  96. }
  97. NS_IMETHODIMP nsDOMHTMLHeadElement::SetProfile(const nsAString & aProfile)
  98. {
  99.     return NS_ERROR_NOT_IMPLEMENTED;
  100. }
  101.  
  102. /* End of implementation class template. */
  103. #endif
  104.  
  105.  
  106. #endif /* __gen_nsIDOMHTMLHeadElement_h__ */
  107.